#/* 
#* Copyright (c)	Insighten Intelligent Equipment co.,LTD
#* 
#*  Use of this software is controlled by the terms and conditions found
#*  in the license agreement under which this software has been supplied.
#* 
#*/
#/** 
#* @file Makefile.am
#* @author taco [tacoee@gmail.com]
#* @version 0.1
#* @date 2010-09-02
#*/

INCLUDES	= -I$(top_srcdir)/include

noinst_PROGRAMS=rwbuf_test \
				tcp_svr_test \
				tcp_cli_test \
				udp_svr_test \
				udp_cli_test \
				msg_cli		\
				msg_svr		\
				cmsgsvr		\
				cmsgcli


rwbuf_test_SOURCES=rwbuf_main.c
rwbuf_test_LDADD=$(top_srcdir)/util/libutil.a

msg_cli_SOURCES=msg_cli_main.c
msg_cli_LDADD=$(top_srcdir)/util/libutil.a

msg_svr_SOURCES=msg_svr_main.c
msg_svr_LDADD=$(top_srcdir)/util/libutil.a

tcp_svr_test_SOURCES=tcp_svr_main.c
tcp_svr_test_LDADD=$(top_srcdir)/util/libutil.a \
				   $(top_srcdir)/src/libnet.a \
				   $(top_srcdir)/lib/libsock_util.a

tcp_cli_test_SOURCES=tcp_cli_main.c
tcp_cli_test_LDADD=$(top_srcdir)/util/libutil.a \
				   $(top_srcdir)/src/libnet.a \
				   $(top_srcdir)/lib/libsock_util.a

udp_svr_test_SOURCES=udp_svr_main.c
udp_svr_test_LDADD=$(top_srcdir)/util/libutil.a \
				   $(top_srcdir)/src/libnet.a \
				   $(top_srcdir)/lib/libsock_util.a

udp_cli_test_SOURCES=udp_cli_main.c
udp_cli_test_LDADD=$(top_srcdir)/util/libutil.a \
				   $(top_srcdir)/src/libnet.a \
				   $(top_srcdir)/lib/libsock_util.a

cmsgsvr_SOURCES=cmsgsvr_main.c	\
				$(top_srcdir)/src/communication.c

cmsgsvr_LDADD=$(top_srcdir)/util/libutil.a \
				   $(top_srcdir)/src/libnet.a \
				   $(top_srcdir)/lib/libsock_util.a

cmsgcli_SOURCES=cmsgcli_main.c	\
				$(top_srcdir)/src/communication.c

cmsgcli_LDADD=$(top_srcdir)/util/libutil.a \
				   $(top_srcdir)/src/libnet.a \
				   $(top_srcdir)/lib/libsock_util.a
